Add github actions for building and releasing hoist-core to maven central#507
Open
Add github actions for building and releasing hoist-core to maven central#507
Conversation
jskupsik
commented
Feb 11, 2026
| # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. | ||
| # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md | ||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 |
Contributor
Author
There was a problem hiding this comment.
As far as I can tell, we appear to have copied this exact-hash-build-version syntax from the testing suite of the gradle plugin deployment. In their actual release code as well as in every guide I can find, it seems to be recommended to use the version tag.
jskupsik
commented
Feb 13, 2026
| XH_RELEASE_VERSION: ${{ inputs.xhReleaseVersion }} | ||
| run: | | ||
| echo $SECRING_FILE | base64 -d > secring.gpg | ||
| (set -x; ./gradlew -Psigning.secretKeyRingFile="${GITHUB_WORKSPACE}/secring.gpg" -PxhReleaseVersion="$XH_RELEASE_VERSION" publishToSonatype closeSonatypeStagingRepository --no-daemon) |
Contributor
Author
There was a problem hiding this comment.
When done demoing - replace closeSonatypeStagingRepository with closeAndReleaseSonatypeStagingRepository to automatically make it go live
Member
|
@jskupsik what's up with this failing check on this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.